package com.zmj.sy.mom.srv.aps.bean.entity.resource;


import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Comment("日志-三方接口")
@Getter
@Setter
@TableName("tb_log_api")
public class LogApi extends BaseEntity {

    @Comment("应用ID")
    private String appId;

    @Comment("方向 1发送 2接收")
    private Integer dir;

    @Comment("发送方")
    private String sender;

    @Comment("接收方")
    private String receiver;

    @Comment("接口名称")
    private String apiName;

    @Comment("调用结果")
    private Boolean success;

    @Comment("调用耗时")
    private Long workTime;

    @Comment("调用时间")
    private LocalDateTime callDateTime;

    @Comment("查询参数")
    private String queryParam;

    @Comment("调用失败信息")
    private String errorMsg;

    @Comment("地址")
    private String url;

    @Comment("请求体路径")
    private String requestPath;

    @Comment("响应体路径")
    private String responsePath;

    @Comment("备注")
    private String remark;

}
